package com.zjuee.service;


import com.zjuee.base.base.Service;
import com.zjuee.base.dto.common.plan.PlanDangerDto;
import com.zjuee.base.model.common.plan.PlanDanger;

import java.util.List;

/**
 * @author ding jinli
 * @since 1.0
 */
public interface PlanDangerService extends Service<PlanDanger, PlanDangerDto> {

    List<PlanDanger> finDangerListBywpiId(Long wpiId, Integer wpdType);

    List<String> getScodeByWpiId(Long planId, String wpdType);

    List<String> getNameByScode(String scode, Long wpiId, String wpdType);

    List<PlanDanger> getPlanDanger(PlanDanger planDanger);

    String getFeatureByScode(String scode);
}
